package behavior.interpreter.impl;

import java.util.Map;

import behavior.interpreter.Expression;
import behavior.interpreter.SymbolExpression;

public class AddExpression extends SymbolExpression {

	public AddExpression(Expression _left, Expression _right) {
		super(_left, _right);
	}

	public int interpreter(Map<String, Integer> var) {
		return super.left.interpreter(var) + super.right.interpreter(var);
	}
}
